package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.FlightMessage;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface FlightMessageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FlightMessage record);

    FlightMessage selectByPrimaryKey(Long id);

    List<FlightMessage> selectAll();

    int updateByPrimaryKey(FlightMessage record);

    List<FlightMessage> queryFlightMessage(@Param("orgCity") String orgCity, @Param("dstCity") String dstCity, @Param("time") Date time);
}